package com.scau.hwadee.examination.mapper;

import com.scau.hwadee.examination.entity.Examiner;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 *@author YHX
 *@date 2019/7/29  9:01
 *@description
 */
public interface ExaminerMapper {
    int deleteByPrimaryKey(String examinerId);

    int insert(Examiner record);

    int insertSelective(Examiner record);

    Examiner selectByPrimaryKey(String examinerId);

    int updateByPrimaryKeySelective(Examiner record);

    int updateByPrimaryKey(Examiner record);

    List<Examiner> selectAllExaminers(@Param("pageNum") int pageNum,
                                      @Param("pageSize") int pageSize);

    int insertExaminerList(@Param("list") List<Examiner> examiners);
}